/*
 Peyote 3D 
 
 Copyright (c) 2010 Douglas J Lockamy
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 */

#define KEY_0	0x00
#define KEY_1	0x01
#define KEY_2	0x02
#define KEY_3	0x03
#define KEY_4	0x04
#define KEY_5	0x05
#define KEY_6	0x06
#define KEY_7	0x07
#define KEY_8	0x08
#define KEY_9	0x09
#define KEY_A	0x0A
#define KEY_B	0x0B	
#define KEY_C	0x0C
#define KEY_D	0x0D
#define KEY_E	0x0E
#define KEY_F	0x10
#define KEY_G	0x11
#define KEY_H	0x12
#define KEY_I	0x13
#define KEY_J	0x14
#define KEY_K	0x15
#define KEY_L	0x16
#define KEY_M	0x17
#define KEY_N	0x18
#define KEY_O	0x19
#define KEY_P	0x1A
#define KEY_Q	0x1B
#define KEY_R	0x1C
#define KEY_S	0x1D
#define KEY_T	0x1E
#define KEY_U	0x1F
#define KEY_V	0x20
#define KEY_W	0x21
#define KEY_X	0x22
#define KEY_Y	0x23
#define KEY_Z	0x24

#define KEY_SHIFT	0x30
#define KEY_ALT		0x31
#define KEY_COMMAND	0x32
#define KEY_ENTER	0x33
#define KEY_BACKSPACE 0x34
#define KEY_SPACE 0x35

#define KEY_DOWN_ARROW	0x40
#define KEY_UP_ARROW	0x41
#define KEY_LEFT_ARROW	0x42
#define KEY_RIGHT_ARROW	0x43
//#define KEY_
//#define KEY_
//#define KEY_


#define MOUSE1_BUTTON_DOWN	0x50
#define MOUSE1_BUTTON_UP	0x51

#define MOUSE2_BUTTON_DOWN	0x52
#define MOUSE2_BUTTON_UP	0x53

#define MOUSE3_BUTTON_DOWN	0x54
#define MOUSE3_BUTTON_UP	0x55

#define MOUSE_MOVE	0x56

#define MOUSE_SCROLL_DOWN	0x57
#define MOUSE_SCROLL_UP	0x58

